#ifndef PUBLISHINFOMW_H
#define PUBLISHINFOMW_H
#include <QMainWindow>
#include <QFile>
#include <QTextStream>
#include <QMessageBox>
#include <QList>
#include "easyInput/easyinput.h"

namespace Ui {
class publishinfoMW;
}

class publishinfoMW : public QMainWindow
{
    Q_OBJECT

public:
    explicit publishinfoMW(QWidget *parent = nullptr);
    ~publishinfoMW();

private slots:
    void on_add_btn_clicked();
    void on_clear_btn_clicked();
    void on_back_btn_clicked();
    void on_top_btn_clicked();
    void on_retract_btn_clicked();
    void slotHideInput();
private:
    Ui::publishinfoMW *ui;
    QList<QString> informationList; // 声明信息列表
    easyInput *eInput;
    bool   inputFlag;   //是否开启输入法标志位
    bool eventFilter(QObject *watched, QEvent *event);
    void mainWindowInit();
};

#endif // PUBLISHINFOMW_H
